package common.text
{
	import flash.text.StyleSheet;

	public class DefaultHtmlLinkStyleSheet extends StyleSheet
	{
		private static var _shareIns:DefaultHtmlLinkStyleSheet;
		
		public function DefaultHtmlLinkStyleSheet()
		{
			var cssStr:String = "a:link {text-decoration:underline;}a:visited {text-decoration:underline}a:hover {text-decoration: none;}a:active { text-decoration: none;}"
			this.parseCSS(cssStr);
		}
		
		public static function getShareInstance():DefaultHtmlLinkStyleSheet
		{
			if(_shareIns == null)
			{
				_shareIns = new DefaultHtmlLinkStyleSheet();
			}
			return _shareIns;
		}
		
		public static function getLinkCSS():String
		{
			var cssStr:String = "a:link {text-decoration:underline;}a:visited {text-decoration:underline}a:hover {text-decoration: none;}a:active { text-decoration: none;}"
			return cssStr;
		}
	}
}